cmake_minimum_required(VERSION 3.7.2)
project(binder)

add_custom_target(binder_driver_compile COMMAND make all WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/binder/driver)
add_custom_target(binder_driver_insmod COMMAND make insmod WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/binder/driver)
add_custom_target(binder_driver_install COMMAND make install WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/binder/driver)
add_custom_target(binder_driver_clean COMMAND make clean WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/binder/driver)

add_subdirectory(user)
